package com.cqq.attachment.dao;
import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.cqq.attachment.dao.domain.Attachment;
import com.cqq.common.core.interfaces.CommonDao;


/**
 * @author CHENQQ
 * @date 2015-12-03
 */
public interface AttachmentDao extends CommonDao<Attachment>{

    int deleteByPrimaryKey(Integer id);

    int insert(Attachment record);

    int insertSelective(Attachment record);

    Attachment selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Attachment record);
    
    List<Attachment> queryAttachmentsByIds(@Param("ids")String ids);

}